import java.lang.Math;

public class Test1 {
    public static void main(String[] args) {
        int num = 11;
        boolean flag = true;

        for (int i = 2; i <= Math.sqrt(num); i++)
        {
            if (num % i == 0)
            {
                flag = false;
                break;
            }
        }

        System.out.println(flag);
    }
}
